
<!DOCTYPE HTML>
<html lang="zh-hans" >
<head>
    <meta charset="UTF-8">
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
    <title>缘起 · 《Flutter实战》</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta name="baidu-site-verification" content="Y34sAqDKUH"/>
    <meta name="theme-color" content="#ffffff">
    <!--<meta name="description" content="">-->
    <meta name="description" content="《Flutter实战》是Flutter中文网（https://flutterchina.club）开源的电子书，旨在帮助开发者系统化的了解并学习Flutter。">
    <meta name="keywords" content="flutter实战,flutter书籍,flutter电子书,flutter中文网 ">
    <meta name="generator" content="GitBook 3.2.3">
    
    <meta name="author" content="wendux 824783146@qq.com">
    
    
    
    
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/flutterchina/flutter-in-action/_book/gitbook/style.css">

    
    
    
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/flutterchina/flutter-in-action/_book/gitbook/gitbook-plugin-search-pro/search.css">
    
    
    
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/flutterchina/flutter-in-action/_book/gitbook/gitbook-plugin-ace/ace.css">
    
    
    
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/flutterchina/flutter-in-action/_book/gitbook/gitbook-plugin-splitter/splitter.css">
    
    
    
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/flutterchina/flutter-in-action/_book/gitbook/gitbook-plugin-toggle-chapters/toggle.css">
    
    
    
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/flutterchina/flutter-in-action/_book/gitbook/gitbook-plugin-prism/prism.css">
    
    
    
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/flutterchina/flutter-in-action/_book/gitbook/gitbook-plugin-donate/plugin.css">
    
    
    
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/flutterchina/flutter-in-action/_book/gitbook/gitbook-plugin-fontsettings/website.css">
    
    
    

    

    
        
    
        
    
        
    
        
    
        
    
        
    

    
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="https://cdn.jsdelivr.net/gh/flutterchina/flutter-in-action/_book/gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="https://cdn.jsdelivr.net/gh/flutterchina/flutter-in-action/_book/gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="chapter1/" />
    
    

    <style>
        .pull-right > i {
            font-size: 25px;
            color: #777 !important;
            cursor: pointer;

        }

        .pull-right > i:hover {
            color: #777 !important;
        }

        body {
            font-size: 15px !important;
        }

        a[href='../todo.html'], a[href='todo.html'] {
            color: #888 !important;
        }

        .copyright {
            text-align: center;
            margin: 80px 16px 30px 16px;
            padding-top: 16px;
            border-top: #eee 1px solid;
            color: grey;
            font-size: .9em;
        }

        .ad {
            color: white;
            text-align: center;
            background: url(https://img.alicdn.com/tfs/TB1Huu7vMmTBuNjy1XbXXaMrVXa-2880-400.png);
            background-size: cover;
            cursor: pointer;
            margin-bottom: 30px;
            padding: 18px
        }

        .ad:hover {
            opacity: .8;
        }
    </style>
</head>
<body>
<!--<div id="ad" style="display: none">-->
    <!--<div class="ad ad0"-->
         <!--onclick="_track('aliyun','https://promotion.aliyun.com/ntms/yunparter/invite.html?userCode=8hhi4dts')">-->
        <!--<div style="font-size: 1.3em; padding-right: 120px; position: relative; top: 12px">阿里云新春特惠</div>-->
        <!--<div style="color:orange; font-size: 13px">限时红包 最高￥<span style="font-size: 40px">1888</span></div>-->
    <!--</div>-->
    <!--<div class="ad ad1"-->
         <!--onclick="_track('aliyun-puhui','https://promotion.aliyun.com/ntms/act/qwbk.html?spm=5176.11533457.1089570.10.74e877e33jtaGy&userCode=8hhi4dts')">-->
        <!--<div style="font-size: 1.5em;">阿里云全民云计算-新春特惠</div>-->
        <!--<div style="color:orange; font-size: 18px;padding-top: 4px;">普惠上云，云服务器1核1G仅需293元/年</div>-->
    <!--</div>-->
<!--</div>-->

<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="输入并搜索" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    
    
        
        <li>
            <a href="https://flutterchina.club" target="_blank" class="custom-link"><div><img height=20 style='position:relative; top:5px; padding-right:5px ' src='https://cdn.jsdelivr.net/gh/flutterchina/website@1.0/images/favicon.png'/> Flutter中文网</div></a>
        </li>
    
    

    
    <li class="divider"></li>
    

    
        
        
    
        <li class="chapter active" data-level="1.1" data-path="./">
            
                <a href="./">
            
                    
                    缘起
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="chapter1/">
            
                <a href="chapter1/">
            
                    
                    起步
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="chapter1/mobile_development_intro.html">
            
                <a href="chapter1/mobile_development_intro.html">
            
                    
                    移动开发技术简介
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="chapter1/flutter_intro.html">
            
                <a href="chapter1/flutter_intro.html">
            
                    
                    Flutter简介
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3" data-path="chapter1/install_flutter.html">
            
                <a href="chapter1/install_flutter.html">
            
                    
                    搭建Flutter开发环境
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.4" data-path="chapter1/configuration.html">
            
                <a href="chapter1/configuration.html">
            
                    
                    常见配置问题
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.5" data-path="chapter1/dart.html">
            
                <a href="chapter1/dart.html">
            
                    
                    Dart语言简介
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="chapter2/">
            
                <a href="chapter2/">
            
                    
                    第一个Flutter应用
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="chapter2/first_flutter_app.html">
            
                <a href="chapter2/first_flutter_app.html">
            
                    
                    计数器示例
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="chapter2/flutter_router.html">
            
                <a href="chapter2/flutter_router.html">
            
                    
                    路由管理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3" data-path="chapter2/flutter_package_mgr.html">
            
                <a href="chapter2/flutter_package_mgr.html">
            
                    
                    包管理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4" data-path="chapter2/flutter_assets_mgr.html">
            
                <a href="chapter2/flutter_assets_mgr.html">
            
                    
                    资源管理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.5" data-path="chapter2/flutter_app_debug.html">
            
                <a href="chapter2/flutter_app_debug.html">
            
                    
                    调试Flutter APP
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.6" data-path="chapter2/thread_model_and_error_report.html">
            
                <a href="chapter2/thread_model_and_error_report.html">
            
                    
                    Dart线程模型及异常捕获
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="chapter3/">
            
                <a href="chapter3/">
            
                    
                    基础Widgets
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="chapter3/flutter_widget_intro.html">
            
                <a href="chapter3/flutter_widget_intro.html">
            
                    
                    Widget简介
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="chapter3/text.html">
            
                <a href="chapter3/text.html">
            
                    
                    文本、字体样式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.3" data-path="chapter3/buttons.html">
            
                <a href="chapter3/buttons.html">
            
                    
                    按钮
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.4" data-path="chapter3/img_and_icon.html">
            
                <a href="chapter3/img_and_icon.html">
            
                    
                    图片和Icon
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.5" data-path="chapter3/radio_and_checkbox.html">
            
                <a href="chapter3/radio_and_checkbox.html">
            
                    
                    单选框和复选框
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.6" data-path="chapter3/input_and_form.html">
            
                <a href="chapter3/input_and_form.html">
            
                    
                    输入框和表单
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="chapter4/">
            
                <a href="chapter4/">
            
                    
                    布局类Widgets
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1" data-path="chapter4/intro.html">
            
                <a href="chapter4/intro.html">
            
                    
                    布局类Widgets简介
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.2" data-path="chapter4/row_and_column.html">
            
                <a href="chapter4/row_and_column.html">
            
                    
                    线性布局Row、Column
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.3" data-path="chapter4/flex.html">
            
                <a href="chapter4/flex.html">
            
                    
                    弹性布局Flex
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.4" data-path="chapter4/wrap_and_flow.html">
            
                <a href="chapter4/wrap_and_flow.html">
            
                    
                    流式布局Wrap、Flow
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.5" data-path="chapter4/stack.html">
            
                <a href="chapter4/stack.html">
            
                    
                    层叠布局Stack、Positioned
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="chapter5/">
            
                <a href="chapter5/">
            
                    
                    容器类Widgets
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.1" data-path="chapter5/padding.html">
            
                <a href="chapter5/padding.html">
            
                    
                    Padding
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.2" data-path="chapter5/constrainedbox_and_sizebox.html">
            
                <a href="chapter5/constrainedbox_and_sizebox.html">
            
                    
                    布局限制类容器ConstrainedBox、SizeBox
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.3" data-path="chapter5/decoratedbox.html">
            
                <a href="chapter5/decoratedbox.html">
            
                    
                    装饰容器DecoratedBox
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.4" data-path="chapter5/transform.html">
            
                <a href="chapter5/transform.html">
            
                    
                    变换Transform
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.5" data-path="chapter5/container.html">
            
                <a href="chapter5/container.html">
            
                    
                    Container容器
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.6" data-path="chapter5/material_scaffold.html">
            
                <a href="chapter5/material_scaffold.html">
            
                    
                    Scaffold、TabBar、底部导航
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="chapter6/">
            
                <a href="chapter6/">
            
                    
                    可滚动Widgets
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.7.1" data-path="chapter6/intro.html">
            
                <a href="chapter6/intro.html">
            
                    
                    可滚动Widgets简介
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.2" data-path="chapter6/single_child_scrollview.html">
            
                <a href="chapter6/single_child_scrollview.html">
            
                    
                    SingleChildScrollView
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.3" data-path="chapter6/listview.html">
            
                <a href="chapter6/listview.html">
            
                    
                    ListView
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.4" data-path="chapter6/gridview.html">
            
                <a href="chapter6/gridview.html">
            
                    
                    GridView
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.5" data-path="chapter6/custom_scrollview.html">
            
                <a href="chapter6/custom_scrollview.html">
            
                    
                    CustomScrollView
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.6" data-path="chapter6/scroll_controller.html">
            
                <a href="chapter6/scroll_controller.html">
            
                    
                    滚动监听及控制ScrollController
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.8" data-path="chapter7/">
            
                <a href="chapter7/">
            
                    
                    功能型Widgets
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.8.1" data-path="chapter7/willpopscope.html">
            
                <a href="chapter7/willpopscope.html">
            
                    
                    导航返回拦截-WillPopScope
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.2" data-path="chapter7/inherited_widget.html">
            
                <a href="chapter7/inherited_widget.html">
            
                    
                    数据共享-InheritedWidget
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.3" data-path="chapter7/theme.html">
            
                <a href="chapter7/theme.html">
            
                    
                    主题-Theme
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.9" data-path="chapter8/">
            
                <a href="chapter8/">
            
                    
                    事件处理与通知
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.9.1" data-path="chapter8/listener.html">
            
                <a href="chapter8/listener.html">
            
                    
                    原始指针事件处理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.2" data-path="chapter8/gesture.html">
            
                <a href="chapter8/gesture.html">
            
                    
                    手势识别
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.3" data-path="chapter8/eventbus.html">
            
                <a href="chapter8/eventbus.html">
            
                    
                    全局事件总线
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.4" data-path="chapter8/notification.html">
            
                <a href="chapter8/notification.html">
            
                    
                    通知Notification
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.10" data-path="chapter9/">
            
                <a href="chapter9/">
            
                    
                    动画
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.10.1" data-path="chapter9/intro.html">
            
                <a href="chapter9/intro.html">
            
                    
                    Flutter动画简介
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10.2" data-path="chapter9/animation_structure.html">
            
                <a href="chapter9/animation_structure.html">
            
                    
                    动画结构
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10.3" data-path="chapter9/route_transition.html">
            
                <a href="chapter9/route_transition.html">
            
                    
                    自定义路由过渡动画
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10.4" data-path="chapter9/hero.html">
            
                <a href="chapter9/hero.html">
            
                    
                    Hero动画
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10.5" data-path="chapter9/stagger_animation.html">
            
                <a href="chapter9/stagger_animation.html">
            
                    
                    交错动画
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.11" data-path="chapter13/">
            
                <a href="chapter13/">
            
                    
                    自定义Widget
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.11.1" data-path="chapter13/intro.html">
            
                <a href="chapter13/intro.html">
            
                    
                    自定义Widget方法简介
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.11.2" data-path="chapter13/combine.html">
            
                <a href="chapter13/combine.html">
            
                    
                    通过组合现有Widget实现
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.11.3" data-path="chapter13/turn_box.html">
            
                <a href="chapter13/turn_box.html">
            
                    
                    实例：TurnBox
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.11.4" data-path="chapter13/custom_paint.html">
            
                <a href="chapter13/custom_paint.html">
            
                    
                    CustomPaint与Canvas
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.11.5" data-path="chapter13/gradient_circular_progress_demo.html">
            
                <a href="chapter13/gradient_circular_progress_demo.html">
            
                    
                    实例：圆形渐变进度条(自绘)
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.12" data-path="chapter10/">
            
                <a href="chapter10/">
            
                    
                    文件操作与网络请求
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.12.1" data-path="chapter10/file_operation.html">
            
                <a href="chapter10/file_operation.html">
            
                    
                    文件操作
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.12.2" data-path="chapter10/http.html">
            
                <a href="chapter10/http.html">
            
                    
                    Http请求-HttpClient
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.12.3" data-path="chapter10/dio.html">
            
                <a href="chapter10/dio.html">
            
                    
                    Http请求-Dio package
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.12.4" data-path="chapter10/download_with_chunks.html">
            
                <a href="chapter10/download_with_chunks.html">
            
                    
                    实例：Http分块下载
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.12.5" data-path="chapter10/websocket.html">
            
                <a href="chapter10/websocket.html">
            
                    
                    WebSocket
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.12.6" data-path="chapter10/socket.html">
            
                <a href="chapter10/socket.html">
            
                    
                    使用Socket API
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.12.7" data-path="chapter10/json_model.html">
            
                <a href="chapter10/json_model.html">
            
                    
                    Json转Model
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.13" data-path="chapter11/">
            
                <a href="chapter11/">
            
                    
                    包与插件
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.13.1" data-path="chapter11/develop_package.html">
            
                <a href="chapter11/develop_package.html">
            
                    
                    开发package
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.13.2" data-path="chapter11/platform-channel.html">
            
                <a href="chapter11/platform-channel.html">
            
                    
                    插件开发：平台通道简介
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.13.3" data-path="chapter11/android_implement.html">
            
                <a href="chapter11/android_implement.html">
            
                    
                    插件开发：实现Android端API
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.13.4" data-path="chapter11/ios_implement.html">
            
                <a href="chapter11/ios_implement.html">
            
                    
                    插件开发：实现IOS端API
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.13.5" data-path="todo.html">
            
                <a href="todo.html">
            
                    
                    系统能力调用
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.14" data-path="chapter12/">
            
                <a href="chapter12/">
            
                    
                    国际化
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.14.1" data-path="chapter12/multi_languages_support.html">
            
                <a href="chapter12/multi_languages_support.html">
            
                    
                    让App支持多语言
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.14.2" data-path="chapter12/locallization_implement.html">
            
                <a href="chapter12/locallization_implement.html">
            
                    
                    实现Localizations
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.14.3" data-path="chapter12/intl.html">
            
                <a href="chapter12/intl.html">
            
                    
                    使用Intl包
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.15" data-path="chapter14/">
            
                <a href="chapter14/">
            
                    
                    Flutter核心原理
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.15.1" data-path="chapter14/flutter_ui_system.html">
            
                <a href="chapter14/flutter_ui_system.html">
            
                    
                    Flutter UI系统
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15.2" data-path="chapter14/element_buildcontext.html">
            
                <a href="chapter14/element_buildcontext.html">
            
                    
                    Element和BuildContext
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15.3" data-path="chapter14/render_object.html">
            
                <a href="chapter14/render_object.html">
            
                    
                    RenderObject与RenderBox
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15.4" data-path="chapter14/flutter_app_startup.html">
            
                <a href="chapter14/flutter_app_startup.html">
            
                    
                    Flutter从启动到显示
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    
        
        <li class="divider"></li>
        
        
    
        <li class="chapter " data-level="2.1" data-path="todo.html">
            
                <a href="todo.html">
            
                    
                    Flutter资源汇总
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="https://cdn.jsdelivr.net/gh/flutterchina/flutter-in-action/_book/gitbook-link">
            本书使用 GitBook 发布
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    
    <a class="btn pull-right" aria-label="GitHub">
        <i class="fa fa-edit" title="编辑本文"></i>
    </a>
    <a class="btn pull-right" aria-label="GitHub" href="https://github.com/flutterchina/flutter-in-action">
        <i class="fa fa-github" title="查看本书开源项目"></i>
    </a>
    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="." >缘起</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <div style="text-align:center; padding-bottom:30px"><img style="height:250px;box-shadow: #aaa 5px 5px 10px;" src="https://cdn.jsdelivr.net/gh/flutterchina/flutter-in-action@1.0/docs/imgs/book.jpg"></div>

<h2 id="&#x7B80;&#x4ECB;">&#x7B80;&#x4ECB;</h2>
<p>&#x672C;&#x4E66;&#x662F;&#x7B2C;&#x4E00;&#x672C;&#x7CFB;&#x7EDF;&#x4ECB;&#x7ECD;Flutter&#x6280;&#x672F;&#x7684;&#x4E2D;&#x6587;&#x4E66;&#x7C4D;&#xFF0C;&#x5B83;&#x662F;Flutter&#x4E2D;&#x6587;&#x793E;&#x533A;&#x53D1;&#x8D77;&#x7684;&#x5F00;&#x6E90;&#x9879;&#x76EE;&#x4E4B;&#x4E00;&#xFF0C;&#x65E8;&#x5728;&#x5E2E;&#x52A9;&#x5F00;&#x53D1;&#x8005;&#x5165;&#x95E8;&#xFF0C;&#x7CFB;&#x7EDF;&#x5730;&#x3001;&#x5FAA;&#x5E8F;&#x6E10;&#x8FDB;&#x7684;&#x4E86;&#x89E3;Flutter&#x3002;</p>
<blockquote>
<p>&#x672C;&#x4E66;&#x76EE;&#x524D;&#x6BCF;&#x5929;PV 3.5&#x4E07;&#xFF0C;&#x72EC;&#x7ACB;&#x8BBF;&#x5BA2;6000&#x591A;&#x540D;&#xFF1B;&#x7531;&#x4E8E;&#x670D;&#x52A1;&#x5668;&#x914D;&#x7F6E;&#x6709;&#x9650;&#xFF0C;&#x6240;&#x4EE5;&#x67D0;&#x4E9B;&#x65F6;&#x6BB5;&#x8BBF;&#x95EE;&#x672C;&#x7AD9;&#x53EF;&#x80FD;&#x7565;&#x6709;&#x5EF6;&#x8FDF;&#xFF0C;&#x5982;&#x679C;&#x5EF6;&#x8FDF;&#x8F83;&#x4E45;&#xFF0C;&#x8BFB;&#x8005;&#x53EF;&#x4EE5;&#x76F4;&#x63A5;&#x5728;<a href="https://github.com/flutterchina/flutter-in-action/blob/master/docs/SUMMARY.md" target="_blank">Github&#x4E0A;&#x9605;&#x8BFB;&#x672C;&#x4E66;</a>&#x3002;</p>
</blockquote>
<h3 id="&#x5173;&#x4E8E;&#x4F5C;&#x8005;">&#x5173;&#x4E8E;&#x4F5C;&#x8005;</h3>
<p>&#x4F5C;&#x8005;<a href="https://github.com/wendux" target="_blank">wendux</a>&#xFF0C;&#x9AD8;&#x7EA7;&#x6280;&#x672F;&#x4E13;&#x5BB6;(&#x524D;&#x7AEF;&#x65B9;&#x5411;)&#x3001;<a href="https://juejin.im/user/58211b88a0bb9f0058c25b7f" target="_blank">&#x6398;&#x91D1;&#x77E5;&#x540D;&#x4E13;&#x680F;&#x4F5C;&#x8005;</a>&#x3001;<a href="https://flutterchina.club/" target="_blank">Flutter&#x4E2D;&#x6587;&#x7F51;</a>&#x53D1;&#x8D77;&#x4EBA;&#x3001;<a href="https://github.com/flutterchina" target="_blank">Flutter&#x4E2D;&#x6587;&#x793E;&#x533A;&#x5F00;&#x6E90;&#x9879;&#x76EE;</a>&#x53D1;&#x8D77;&#x4EBA;&#xFF1B;<a href="https://github.com/flutterchina/dio" target="_blank">dio</a>&#x3001;<a href="https://github.com/wendux/fly" target="_blank">fly</a>&#x3001;<a href="https://github.com/wendux/DSBridge-Android" target="_blank">dsBridge</a>&#x7B49;&#x591A;&#x4E2A;&#x77E5;&#x540D;&#x5F00;&#x6E90;&#x9879;&#x76EE;&#x4F5C;&#x8005;&#xFF1B;&#x66FE;&#x5C31;&#x804C;&#x4E8E;&#x767E;&#x5EA6;&#x3001;&#x5C0F;&#x8D62;&#x79D1;&#x6280;&#xFF0C;&#x4ECE;&#x4E8B;&#x8FC7;PC&#x3001;&#x540E;&#x53F0;&#x3001;&#x79FB;&#x52A8;&#x7AEF;&#x4EE5;&#x53CA;&#x524D;&#x7AEF;&#xFF0C;&#x8D1F;&#x8D23;&#x8FC7;&#x591A;&#x6B21;&#x6838;&#x5FC3;&#x6280;&#x672F;&#x653B;&#x5173;&#xFF0C;&#x73B0;&#x5C31;&#x804C;&#x4E8E;&#x5B57;&#x8282;&#x8DF3;&#x52A8;&#x4E1A;&#x52A1;&#x56E2;&#x961F;&#xFF0C;&#x76EE;&#x524D;&#x95F2;&#x6687;&#x65F6;&#xFF0C;&#x4E3B;&#x8981;&#x5173;&#x6CE8;&#x5927;&#x524D;&#x7AEF;&#x884C;&#x4E1A;&#x53D1;&#x5C55;&#x3002;</p>
<blockquote>
<p>&#x5E7F;&#x544A;&#xFF1A;&#x957F;&#x671F;&#x62DB;&#x8058;&#x524D;&#x7AEF;&#x3001;&#x79FB;&#x52A8;&#x7AEF;&#x9AD8;&#x5DE5;&#xFF0C;&#x6709;&#x610F;&#x8005;&#x8BF7;&#x53D1;&#x7B80;&#x5386;&#x5230;duwen32767@163.com &#x6216;&#x52A0;&#x5FAE;&#x4FE1;Demons-du.</p>
</blockquote>
<h2 id="&#x7F18;&#x8D77;">&#x7F18;&#x8D77;</h2>
<p>&#x5728;&#x5168;&#x7403;&#xFF0C;&#x968F;&#x7740;Flutter&#x88AB;&#x8D8A;&#x6765;&#x8D8A;&#x591A;&#x7684;&#x77E5;&#x540D;&#x516C;&#x53F8;&#x5E94;&#x7528;&#x5728;&#x81EA;&#x5DF1;&#x7684;&#x5546;&#x4E1A;APP&#x4E2D;&#xFF0C;Flutter&#x8FD9;&#x95E8;&#x65B0;&#x6280;&#x672F;&#x4E5F;&#x9010;&#x6E10;&#x8FDB;&#x5165;&#x4E86;&#x79FB;&#x52A8;&#x5F00;&#x53D1;&#x8005;&#x7684;&#x89C6;&#x91CE;&#xFF0C;&#x5C24;&#x5176;&#x662F;&#x5F53;Google&#x5728;2018&#x5E74;IO&#x5927;&#x4F1A;&#x4E0A;&#x53D1;&#x5E03;&#x4E86;&#x7B2C;&#x4E00;&#x4E2A;Preview&#x7248;&#x672C;&#x540E;&#xFF0C;&#x56FD;&#x5185;&#x522E;&#x8D77;&#x6765;&#x4E00;&#x80A1;&#x5B66;&#x4E60;Flutter&#x7684;&#x70ED;&#x6F6E;&#x3002;</p>
<p>&#x4E3A;&#x4E86;&#x66F4;&#x597D;&#x7684;&#x65B9;&#x4FBF;&#x5E2E;&#x52A9;&#x4E2D;&#x56FD;&#x5F00;&#x53D1;&#x8005;&#x4E86;&#x89E3;&#x8FD9;&#x95E8;&#x65B0;&#x6280;&#x672F;&#xFF0C;&#x6211;&#x4EEC;&#xFF0C;<a href="https://flutterchina.club/" target="_blank">Flutter&#x4E2D;&#x6587;&#x7F51;</a>&#xFF0C;&#x524D;&#x540E;&#x53D1;&#x8D77;&#x4E86;Flutter&#x7FFB;&#x8BD1;&#x8BA1;&#x5212;&#x3001;Flutter&#x5F00;&#x6E90;&#x8BA1;&#x5212;&#xFF0C;&#x524D;&#x8005;&#x4E3B;&#x8981;&#x7684;&#x4EFB;&#x52A1;&#x662F;&#x7FFB;&#x8BD1;Flutter&#x5B98;&#x65B9;&#x6587;&#x6863;&#xFF0C;&#x540E;&#x8005;&#x5219;&#x4E3B;&#x8981;&#x662F;&#x5F00;&#x53D1;&#x4E00;&#x4E9B;&#x5E38;&#x7528;&#x7684;&#x5305;&#x6765;&#x4E30;&#x5BCC;Flutter&#x751F;&#x6001;&#xFF0C;&#x5E2E;&#x52A9;&#x5F00;&#x53D1;&#x8005;&#x63D0;&#x9AD8;&#x5F00;&#x53D1;&#x6548;&#x7387;&#x3002;&#x800C;&#x65F6;&#x81F3;&#x4ECA;&#x65E5;&#xFF0C;&#x8FD9;&#x4E24;&#x4EF6;&#x4E8B;&#x53D6;&#x5F97;&#x7684;&#x6548;&#x679C;&#x8FD8;&#x90FD;&#x4E0D;&#x9519;&#xFF01;</p>
<p>&#x76EE;&#x524D;&#xFF0C;Flutter&#x4E2D;&#x6587;&#x5B98;&#x7F51;&#x65E5;PV&#x5728;5W&#x5DE6;&#x53F3;&#xFF0C;&#x6BCF;&#x65E5;&#x72EC;&#x7ACB;&#x8BBF;&#x95EE;&#x4EBA;&#x6570;8000&#x591A;&#x3002;</p>
<p>&#x81EA;&#x4ECA;&#x5E74;&#x6211;&#x4EEC;&#x5728;github&#x5EFA;&#x7ACB;<a href="https://github.com/flutterchina" target="_blank">&#x5B98;&#x65B9;&#x8D26;&#x53F7;</a>&#x4EE5;&#x6765;&#xFF0C;&#x524D;&#x540E;&#x5F00;&#x6E90;&#x4E86;cookieJar&#x3001;dio&#x3001;flukit&#x7B49;&#x591A;&#x4E2A;&#x9879;&#x76EE;&#xFF0C;&#x800C;dio&#x5728;&#x5F00;&#x6E90;&#x4E24;&#x5468;&#x540E;&#xFF0C;&#x5C31;&#x8FC5;&#x901F;&#x6210;&#x4E3A;Flutter&#x7B2C;&#x4E09;&#x65B9;&#x5305;&#x4E2D;Star&#x6392;&#x540D;&#x7B2C;&#x4E00;&#x7684;&#x5F00;&#x6E90;&#x5E93;&#x3002;</p>
<p>&#x4E4B;&#x524D;&#xFF0C;&#x6709;&#x5F88;&#x591A;&#x6B21;&#x88AB;&#x6CA1;&#x7528;&#x8FC7;Flutter&#x4F46;&#x5BF9;&#x5176;&#x4FDD;&#x6301;&#x597D;&#x5947;&#x7684;&#x5F00;&#x53D1;&#x8005;&#x95EE;&#x5230;&#x201D;Flutter&#x7684;&#x6027;&#x80FD;&#x7A76;&#x7ADF;&#x600E;&#x6837;&#xFF1F;&#x201C;&#xFF0C;&#x201D;&#x5F00;&#x53D1;&#x4F53;&#x9A8C;&#x771F;&#x7684;&#x597D;&#x5417;&#xFF1F;&#x201C;&#x8FD9;&#x7C7B;&#x95EE;&#x9898;&#x3002;&#x5F53;&#x65F6;&#x4E4B;&#x6240;&#x4EE5;&#x4F1A;&#x6709;&#x5F88;&#x591A;&#x8FD9;&#x6837;&#x7684;&#x95EE;&#x9898;&#xFF0C;&#x4E3B;&#x8981;&#x7684;&#x539F;&#x56E0;&#x5C31;&#x662F;&#x90A3;&#x65F6;Flutter&#x7684;&#x6210;&#x529F;&#x6848;&#x4F8B;&#x592A;&#x5C11;&#xFF0C;&#x867D;&#x7136;&#x56FD;&#x5185;&#x95F2;&#x9C7C;&#x662F;&#x7B2C;&#x4E00;&#x4E2A;&#x5F15;&#x5165;Flutter&#x7684;&#x5546;&#x4E1A;&#x5E94;&#x7528;&#xFF0C;&#x4F46;&#x521D;&#x671F;&#x4E5F;&#x53EA;&#x662F;&#x5728;&#x5F88;&#x5C11;&#x7684;&#x9875;&#x9762;&#x4F7F;&#x7528;&#x4E86;Flutter&#xFF0C;Flutter&#x7A76;&#x7ADF;&#x80FD;&#x5426;&#x9002;&#x5408;&#x7528;&#x4E8E;&#x5B8C;&#x6574;&#x9879;&#x76EE;&#x7F3A;&#x4E4F;&#x8003;&#x9A8C;&#x3002;&#x90A3;&#x65F6;&#xFF0C;&#x6211;&#x5C31;&#x60F3;&#x5982;&#x679C;&#x80FD;&#x7528;Flutter&#x5F00;&#x53D1;&#x4E00;&#x4E2A;&#x5B8C;&#x6574;&#x7684;APP&#x53D1;&#x5E03;&#x5230;&#x5E94;&#x7528;&#x5546;&#x5E97;&#xFF0C;&#x8FD9;&#x6837;&#x5F00;&#x53D1;&#x8005;&#x5C31;&#x53EF;&#x4EE5;&#x5728;&#x72B9;&#x8C6B;&#x7684;&#x65F6;&#x5019;&#x53EF;&#x4EE5;&#x5148;&#x5B9E;&#x9645;&#x611F;&#x53D7;&#x4E00;&#x4E0B;Flutter&#x7684;&#x6D41;&#x7545;&#x5EA6;&#xFF0C;&#x8FD9;&#x6837;&#x6709;&#x4E2A;&#x76F4;&#x89C2;&#x7684;&#x4E86;&#x89E3;&#x540E;&#xFF0C;&#x5C31;&#x4F1A;&#x5BB9;&#x6613;&#x505A;&#x51FA;&#x5224;&#x65AD;&#xFF0C;&#x4E3A;&#x6B64;&#xFF0C;&#x6211;&#x5F00;&#x53D1;&#x4E86;<a href="https://flutterchina.club/app/gm.html" target="_blank">Gitme</a>&#xFF0C;&#x5B83;&#x662F;&#x4E00;&#x4E2A;Github&#x5BA2;&#x6237;&#x7AEF;&#xFF0C;&#x5B83;&#x652F;&#x6301;&#x4E86;&#x6E90;&#x7801;&#x6D4F;&#x89C8;&#x3001;Issue&#x3001;Label&#x7B49;Github&#x7684;&#x5927;&#x591A;&#x6570;&#x529F;&#x80FD;&#x3002;&#x5230;&#x76EE;&#x524D;&#x4E3A;&#x6B62;&#xFF0C;&#x901A;&#x8FC7;Gitme&#x767B;&#x5F55;&#x8FC7;Github&#x8D26;&#x53F7;&#x7684;&#x7528;&#x6237;&#x6709;5000&#x591A;&#xFF0C;&#x65E5;&#x6D3B;&#x7528;&#x6237;&#x6709;500&#x3002;&#x66F4;&#x91CD;&#x8981;&#x7684;&#x662F;&#xFF0C;&#x6709;&#x5F88;&#x591A;&#x4EBA;&#x6B63;&#x662F;&#x7528;&#x4E86;Gitme&#x540E;&#xFF0C;&#x624D;&#x6765;&#x5B66;flutter&#x7684;&#x3002;</p>
<p>&#x867D;&#x7136;&#x505A;&#x7684;&#x4E8B;&#x60C5;&#x5DF2;&#x7ECF;&#x591F;&#x591A;&#x4E86;&#xFF0C;&#x4F46;&#x662F;&#x4ECD;&#x6709;&#x4E00;&#x4E9B;&#x5F88;&#x6709;&#x5FC5;&#x8981;&#x53BB;&#x505A;&#x7684;&#x4E8B;&#x60C5;&#xFF0C;&#x7531;&#x4E8E;&#x65F6;&#x95F4;&#x539F;&#x56E0;&#xFF0C;&#x4E00;&#x76F4;&#x88AB;&#x6401;&#x7F6E;&#x3002;</p>
<p>&#x968F;&#x7740;&#x5B66;&#x4E60;Flutter&#x7684;&#x4EBA;&#x8D8A;&#x6765;&#x8D8A;&#x591A;&#xFF0C;&#x4E00;&#x90E8;&#x5206;&#x5F00;&#x53D1;&#x8005;&#x901A;&#x8FC7;&#x67E5;&#x770B;&#x5B98;&#x7F51;&#x7684;&#x6587;&#x6863;&#x5C31;&#x80FD;&#x5165;&#x95E8;&#xFF0C;&#x4F46;&#x4E5F;&#x6709;&#x5F88;&#x591A;&#x5F00;&#x53D1;&#x8005;&#x611F;&#x89C9;&#x5B66;&#x4E60;&#x65F6;&#x6709;&#x4E9B;&#x5403;&#x529B;&#xFF0C;&#x800C;&#x8FD9;&#x4E3B;&#x8981;&#x7684;&#x539F;&#x56E0;&#x662F;&#x6CA1;&#x6709;&#x4E00;&#x4E2A;&#x8D44;&#x6599;&#x53BB;&#x7CFB;&#x7EDF;&#x7684;&#x5B66;&#x4E60;Flutter&#x3002;</p>
<p>&#x6211;&#x4EEC;&#x867D;&#x7136;&#x7FFB;&#x8BD1;&#x4E86;&#x5B98;&#x65B9;&#x6587;&#x6863;&#xFF0C;&#x4F46;&#x662F;&#x5BF9;&#x4E8E;&#x6D77;&#x91CF;&#x7684;SDK&#x6587;&#x6863;&#xFF0C;&#x57FA;&#x672C;&#x5F88;&#x96BE;&#x53BB;&#x5168;&#x90E8;&#x7FFB;&#x8BD1;&#x3002;&#x8FD9;&#x65F6;&#xFF0C;&#x5982;&#x679C;&#x80FD;&#x6709;&#x4E00;&#x672C;&#x80FD;&#x7CFB;&#x7EDF;&#x5730;&#x4ECB;&#x7ECD;Flutter&#x7684;&#x4E66;&#x7C4D;&#x4FBF;&#x662F;&#x4FBF;&#x662F;&#x975E;&#x5E38;&#x68D2;&#x7684;&#xFF01;&#x4F46;&#x662F;&#xFF0C;&#x5F53;&#x65F6;&#x6CA1;&#x6709;&#x4E00;&#x672C;&#x5173;&#x4E8E;Flutter&#x7684;&#x4E2D;&#x6587;&#x4E66;&#x7C4D;&#xFF0C;&#x6240;&#x4EE5;&#x5199;&#x4E00;&#x672C;&#x80FD;&#x7CFB;&#x7EDF;&#x4ECB;&#x7ECD;Flutter&#x6280;&#x672F;&#x7684;&#x4E66;&#x7C4D;&#x4FBF;&#x975E;&#x5E38;&#x6709;&#x5FC5;&#x8981;&#x3002;</p>
<h2 id="&#x4E3A;&#x4EC0;&#x4E48;&#x5F00;&#x6E90;">&#x4E3A;&#x4EC0;&#x4E48;&#x5F00;&#x6E90;</h2>
<p>&#x4E3A;&#x4EC0;&#x4E48;&#x8981;&#x5F00;&#x6E90;&#x672C;&#x4E66;&#xFF1F;&#x4E3B;&#x8981;&#x539F;&#x56E0;&#x662F;Flutter&#x7248;&#x672C;&#x6B63;&#x5904;&#x4E8E;&#x5FEB;&#x901F;&#x8FED;&#x4EE3;&#x4E2D;&#xFF0C;&#x5F88;&#x591A;&#x4E1C;&#x897F;&#x90FD;&#x5728;&#x53D1;&#x751F;&#x53D8;&#x5316;&#xFF0C;&#x5F00;&#x6E90;&#x540E;&#x53EF;&#x4EE5;&#x5FEB;&#x901F;&#x66F4;&#x65B0;&#xFF1B;&#x53E6;&#x4E00;&#x4E2A;&#x539F;&#x56E0;&#x662F;&#x5F00;&#x6E90;&#x540E;&#x53EF;&#x4EE5;&#x540C;&#x6B65;&#x53D1;&#x5E03;&#x7535;&#x5B50;&#x7248;&#xFF0C;&#x65B9;&#x4FBF;&#x8BFB;&#x8005;&#x5728;&#x7EBF;&#x9605;&#x8BFB;&#x548C;&#x67E5;&#x770B;&#x3002;</p>
<p>&#x6211;&#x4EEC;&#x6B22;&#x8FCE;&#x6709;&#x6709;&#x5FD7;&#x4E4B;&#x58EB;&#x52A0;&#x5165;&#x6211;&#x4EEC;&#xFF0C;&#x4E00;&#x8D77;&#x6765;&#x521B;&#x4F5C;&#x3001;Review&#x3001;&#x6821;&#x7A3F;&#xFF1B;</p>
<h2 id="&#x6743;&#x76CA;">&#x6743;&#x76CA;</h2>
<p>&#x6700;&#x540E;&#xFF0C;&#x77E5;&#x8BC6;&#x662F;&#x5E94;&#x8BE5;&#x4ED8;&#x8D39;&#x7684;&#xFF0C;&#x521B;&#x4F5C;&#x4E0D;&#x6613;&#xFF0C;&#x5F00;&#x6E90;&#x4E0D;&#x7B49;&#x4E8E;&#x514D;&#x8D39;&#xFF0C;&#x5982;&#x679C;&#x60A8;&#x662F;&#x672C;&#x4E66;&#x8BFB;&#x8005;&#x5E76;&#x624B;&#x5934;&#x5BBD;&#x88D5;&#xFF0C;&#x53EF;&#x4EE5;&#x70B9;&#x51FB;&#x4E0B;&#x9762;&#x6253;&#x8D4F;&#x6309;&#x94AE;&#x6253;&#x8D4F;&#xFF1B;&#x5F53;&#x7136;&#xFF0C;&#x5982;&#x679C;&#x60A8;&#x56CA;&#x4E2D;&#x7F9E;&#x6DA9;&#xFF0C;&#x60A8;&#x4E5F;&#x53EF;&#x4EE5;&#x9605;&#x8BFB;&#x672C;&#x4E66;&#xFF0C;&#x4F46;&#x6211;&#x5BF9;&#x60A8;&#x6709;&#x4E2A;&#x5C0F;&#x5C0F;&#x7684;&#x8981;&#x6C42;&#xFF0C;&#x5E0C;&#x671B;&#x60A8;&#x5728;&#x9605;&#x8BFB;&#x7684;&#x8FC7;&#x7A0B;&#x4E2D;&#x80FD;&#x79EF;&#x6781;&#x53C2;&#x4E0E;&#x5230;&#x672C;&#x4E66;&#x7684;&#x7EA0;&#x9519;&#x4EE5;&#x53CA;&#x672A;&#x5B8C;&#x6210;&#x5185;&#x5BB9;&#x7684;&#x521B;&#x4F5C;&#x4E0A;&#x6765;&#xFF0C;&#x4E5F;&#x7B97;&#x662F;&#x6709;&#x6240;&#x4ED8;&#x51FA;&#x3002;</p>
<p>&#x8FD1;&#x6765;&#x5728;&#x7F51;&#x4E0A;&#x53D1;&#x73B0;&#x5F88;&#x591A;<strong>&#x539F;&#x5C01;&#x4E0D;&#x52A8;&#x590D;&#x5236;&#x672C;&#x4E66;</strong>&#x7684;&#x955C;&#x50CF;&#x7F51;&#x7AD9;&#x548C;&#x5927;&#x91CF;&#x590D;&#x5236;&#x6216;<strong>&#x5F15;&#x7528;&#x4E86;&#x672C;&#x4E66;&#x4F46;&#x672A;&#x6CE8;&#x660E;&#x51FA;&#x5904;</strong>&#x7684;&#x535A;&#x5BA2;&#x3001;&#x6587;&#x7AE0;&#x751A;&#x81F3;&#x4E66;&#x7C4D;&#xFF1B;&#x5BF9;&#x6B64;&#xFF0C;&#x7B14;&#x8005;&#x5728;&#x6B64;&#x58F0;&#x660E;&#xFF0C;&#x672C;&#x4E66;&#x8457;&#x4F5C;&#x6743;&#x5F52;wendux&#x6240;&#x6709;&#xFF0C;&#x4EFB;&#x4F55;&#x7EC4;&#x7EC7;&#x6216;&#x4E2A;&#x4EBA;&#x5728;&#x672A;&#x7ECF;&#x6388;&#x6743;&#x7684;&#x60C5;&#x51B5;&#x4E0B;&#x590D;&#x5236;&#x3001;&#x62F7;&#x8D1D;&#x3001;&#x6284;&#x88AD;&#x672C;&#x4E66;&#x7528;&#x4E8E;&#x5546;&#x4E1A;&#x76EE;&#x7684;&#xFF0C;&#x7B14;&#x8005;&#x4FDD;&#x7559;&#x8FFD;&#x7A76;&#x5176;&#x6CD5;&#x5F8B;&#x8D23;&#x4EFB;&#x7684;&#x6743;&#x5229;&#x3002;&#x5982;&#x679C;&#x662F;&#x975E;&#x5546;&#x4E1A;&#x76EE;&#x7684;&#x7684;&#x8F6C;&#x8F7D;&#x548C;&#x5F15;&#x7528;&#xFF0C;&#x8BF7;&#x6CE8;&#x660E;&#x51FA;&#x5904;&#x5E76;&#x9644;&#x4E0A;&#x672C;&#x4E66;&#x7F51;&#x5740;&#x3002;&#x53E6;&#x5916;&#x5982;&#x6709;&#x51FA;&#x7248;&#x673A;&#x6784;&#x613F;&#x610F;&#x4E3A;&#x672C;&#x4E66;&#x521D;&#x7248;&#x5B9E;&#x4F53;&#x4E66;&#x6216;&#x8005;&#x60F3;&#x8F6C;&#x8F7D;&#x672C;&#x4E66;&#x5185;&#x5BB9;&#xFF0C;&#x4EA6;&#x6216;&#x662F;&#x60F3;&#x5408;&#x4F5C;&#xFF0C;&#x8BF7;&#x52A0;&#x5FAE;&#x4FE1;Demons-du.</p>
<h2 id="&#x6700;&#x540E;">&#x6700;&#x540E;</h2>
<p>&#x5982;&#x679C;&#x60A8;&#x53D1;&#x73B0;&#x672C;&#x4E66;&#x4E2D;&#x7684;&#x9519;&#x8BEF;&#xFF0C;&#x6B22;&#x8FCE;&#x70B9;&#x51FB;&#x53F3;&#x4E0A;&#x89D2;&#x7684;&#x201D;&#x7F16;&#x8F91;&#x6309;&#x94AE;&#x201C;&#xFF0C;&#x63D0;PR&#x3002;&#x5982;&#x679C;&#x60A8;&#x60F3;&#x4E00;&#x8D77;&#x53C2;&#x4E0E;&#x672C;&#x4E66;&#x521B;&#x4F5C;&#xFF0C;&#x53EF;&#x4EE5;&#x53C2;&#x8003;<a href="https://github.com/flutterchina/flutter-in-action#%E8%B4%A1%E7%8C%AE%E9%A1%BB%E7%9F%A5" target="_blank">&#x300A;Flutter&#x5B9E;&#x6218;&#x300B;&#x8D21;&#x732E;&#x6307;&#x5357;</a>&#x3002;</p>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                
                <a href="chapter1/" class="navigation navigation-next navigation-unique" aria-label="Next page: 起步">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"缘起","level":"1.1","depth":1,"next":{"title":"起步","level":"1.2","depth":1,"path":"chapter1/index.md","ref":"chapter1/index.md","articles":[{"title":"移动开发技术简介","level":"1.2.1","depth":2,"path":"chapter1/mobile_development_intro.md","ref":"chapter1/mobile_development_intro.md","articles":[]},{"title":"Flutter简介","level":"1.2.2","depth":2,"path":"chapter1/flutter_intro.md","ref":"chapter1/flutter_intro.md","articles":[]},{"title":"搭建Flutter开发环境","level":"1.2.3","depth":2,"path":"chapter1/install_flutter.md","ref":"chapter1/install_flutter.md","articles":[]},{"title":"常见配置问题","level":"1.2.4","depth":2,"path":"chapter1/configuration.md","ref":"chapter1/configuration.md","articles":[]},{"title":"Dart语言简介","level":"1.2.5","depth":2,"path":"chapter1/dart.md","ref":"chapter1/dart.md","articles":[]}]},"dir":"ltr"},"config":{"plugins":["-search","search-pro","ace","splitter","toggle-chapters","prism","donate","-highlight"],"root":"docs","styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"prism":{"lang":{"shell":"bash"}},"ace":{},"splitter":{},"search-pro":{"cutWordLib":"nodejieba","defineWord":["Gitbook Use"]},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"donate":{"alipay":"","alipayText":"支付宝打赏","button":"赏","title":"","wechat":"https://cdn.jsdelivr.net/gh/flutterchina/flutter-in-action@1.0.3/docs/imgs/pay.jpeg","wechatText":"微信打赏"},"fontsettings":{"theme":"white","family":"sans","size":2},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"toggle-chapters":{}},"theme":"default","author":"wendux 824783146@qq.com","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"《Flutter实战》","language":"zh-hans","links":{"sharing":{"all":null,"facebook":null,"google":null,"twitter":null,"weibo":null},"sidebar":{"<div><img height=20 style='position:relative; top:5px; padding-right:5px ' src='https://cdn.jsdelivr.net/gh/flutterchina/website@1.0/images/favicon.png'/> Flutter中文网</div>":"https://flutterchina.club"}},"gitbook":"*","description":"记录Gitbook的配置和一些插件的使用"},"file":{"path":"README.md","mtime":"2019-05-06T09:34:32.352Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-05-14T10:32:57.346Z"},"basePath":".","book":{"language":""}});
        });
    </script>
</div>



    <script src="https://cdn.jsdelivr.net/gh/flutterchina/flutter-in-action/_book/gitbook/gitbook.js"></script>
    <script src="https://cdn.jsdelivr.net/gh/flutterchina/flutter-in-action/_book/gitbook/theme.js"></script>
    
        
        <script src="https://cdn.jsdelivr.net/gh/flutterchina/flutter-in-action/_book/gitbook/gitbook-plugin-search-pro/jquery.mark.min.js"></script>
        
    
        
        <script src="https://cdn.jsdelivr.net/gh/flutterchina/flutter-in-action/_book/gitbook/gitbook-plugin-search-pro/search.js"></script>
        
    
        
        <script src="https://cdn.jsdelivr.net/gh/flutterchina/flutter-in-action/_book/gitbook/gitbook-plugin-ace/ace/ace.js"></script>
        
    
        
        <script src="https://cdn.jsdelivr.net/gh/flutterchina/flutter-in-action/_book/gitbook/gitbook-plugin-ace/ace.js"></script>
        
    
        
        <script src="https://cdn.jsdelivr.net/gh/flutterchina/flutter-in-action/_book/gitbook/gitbook-plugin-splitter/splitter.js"></script>
        
    
        
        <script src="https://cdn.jsdelivr.net/gh/flutterchina/flutter-in-action/_book/gitbook/gitbook-plugin-toggle-chapters/toggle.js"></script>
        
    
        
        <script src="https://cdn.jsdelivr.net/gh/flutterchina/flutter-in-action/_book/gitbook/gitbook-plugin-donate/plugin.js"></script>
        
    
        
        <script src="https://cdn.jsdelivr.net/gh/flutterchina/flutter-in-action/_book/gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="https://cdn.jsdelivr.net/gh/flutterchina/flutter-in-action/_book/gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="https://cdn.jsdelivr.net/gh/flutterchina/flutter-in-action/_book/gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="https://cdn.jsdelivr.net/gh/flutterchina/flutter-in-action/_book/gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    


<script>
    var _hmt = _hmt || [];
    $("#bd").remove();
    (function () {
        var hm = document.createElement("script");
        hm.src = "https://hm.baidu.com/hm.js?170231fea4f81697eb046edc1a91fe5b";
        var s = document.getElementsByTagName("script")[0];
        hm.id = "bd"
        s.parentNode.insertBefore(hm, s);
    })();

    function init() {
        var p = location.pathname;
        _hmt.push(['_trackPageview', p]);
        if (p[p.length - 1] === '/') {
            p += "index.md"
        } else {
            p = p.split(".")[0] + ".md";
        }
        p = "https://github.com/flutterchina/flutter-in-action/blob/master/docs" + p;
        $(".pull-right .fa-edit").parent("a").attr("href", p);
        $("table").wrap("<div style='overflow: auto'></div>");
        //百度统计
        var e = /([http|https]:\/\/[a-zA-Z0-9\_\.]+\.baidu\.com)/gi, r = window.location.href,
            t = document.referrer;
        if (!e.test(r)) {
            var o = "https://sp0.baidu.com/9_Q4simg2RQJ8t7jm9iCKT-xh_/s.gif";
            t ? (o += "?r=" + encodeURIComponent(document.referrer), r && (o += "&l=" + r)) : r && (o += "?l=" + r);
            var i = new Image;
            i.src = o
        }
        $(".copyright").remove();
        $("<div class='copyright'> 本书仍在勘误阶段，请勿以任何形式私自传播，作者保留对本书的版权。</div>").appendTo(".page-inner");
    }

    function hookAPI(api, ob, fn) {
        return function () {
            var result = api.apply(ob, [].slice.call(arguments));

            setTimeout(fn, 1000);
            return result;
        }
    }

    function addAD() {
        if (location.href !== 'https://book.flutterchina.club/' && $("#book-search-results .ad").length == 0) {
            var id=Math.ceil(Math.random()*10)%2;
            $(".ad"+id).clone().hide().fadeIn().prependTo("#book-search-results")
            setTimeout(function () {
                $(".body-inner").animate({scrollTop: 0}, 200)
            }, 800);
        }
    }

    function _track(p,url) {
        _hmt.push(['_trackEvent', 'ad', 'click', p]);
        setTimeout(function () {
            location.href = url
        }, 100);
    }

    // setInterval(addAD, 300);

    init();


    if (history.pushState) {
        history.pushState = hookAPI(history.pushState, history, init);
    }

</script>
</body>

</html>

